package com.linln.modules.receiverecord.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linln.modules.receiverecord.domain.ReceiveRecord;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.Map;


/**
* @Project: timo
* @Package com.linln.modules.receiverecord.mapper
* @Descriptio
/**
* @Project: timo
* @Package com.linln.modules.receiverecord.mapper
* @Description: TODO
* @author : pengliang
* @date Date : 2021年01月09日 15:07
* @version V1.0
*/
@Mapper
@Component
public interface ReceiveRecordMapper extends BaseMapper<ReceiveRecord> {
    @MapKey("key")
    //获取领取记录
    Map<String,ReceiveRecord> getReceiveRecordList(long userId);
}
